package com.ddpt.platform.common.export.vo.extensions;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CurrencyInfoVo extends QueryDataVo {
    /**
     * 代币名称
     */
    @Export(value = "代币名称")
    private String name;

    /**
     * 代币唯一标识，通常用于外部对接
     */
    @Export(value = "代币唯一标识")
    private String uniqueKey;

    /**
     * 兑换比例
     */
    @Export(value = "兑换比例")
    private String exchangeRatio;

    /**
     * 失效类型
     * com.ddpt.platform.extensions.api.currency.enums.CurrencyExpireTypeEnum
     */
    @Export(value = "失效类型")
    private String expireType;

    /**
     * 失效时间，仅针对 fixed和relatively 有效
     * fixed：代表这个时间戳准时失效
     * relatively：代表用户领取完成后经过这么长时间后失效
     */
    @Export(value = "失效时间", isTime = true)
    private Long expireTime;

    /**
     * 状态(1启用,0禁用)
     */
    @Export(value = "状态", key = {"0", "1"}, val = {"禁用", "启用"})
    private Integer status;

    /**
     * 代币logo
     */
    @Export(value = "代币logo")
    private String logo;

    /**
     * 代币描述
     */
    @Export(value = "代币描述")
    private String remark;

    /**
     * 代币规则说明
     */
    @Export(value = "代币规则说明")
    private String rules;

    @Export(value = "配置id")
    private Long configId;

    /**
     * 机构名称
     */
    @Export(value = "机构名称")
    private String insNames;
}
